-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(core): clarify output of test_unicode #11572
Conversation
- group output by functional area #10183
User Test ResultsTest specification and instructions User tests are not required Test Artifacts |
std::string result = block_line.substr(prefix.length()); | ||
const std::string txt_suffix = ".txt"; // trim off this suffix | ||
auto txt_pos = result.find(txt_suffix, 0); | ||
if (txt_pos != std::string::npos) { | ||
result.resize(txt_pos); | ||
} | ||
return result; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe needs a comment! It drops the ".txt" suffix that is present in the original file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous output without this change:
block_unicode_ver 15.1.0.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha, a comment would be nice to clarify why this is being done.
std::string result = block_line.substr(prefix.length()); | ||
const std::string txt_suffix = ".txt"; // trim off this suffix | ||
auto txt_pos = result.find(txt_suffix, 0); | ||
if (txt_pos != std::string::npos) { | ||
result.resize(txt_pos); | ||
} | ||
return result; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha, a comment would be nice to clarify why this is being done.
Changes in this pull request will be available for download in Keyman version 18.0.48-alpha |
#10183
Sample output:
@keymanapp-test-bot skip